package com.example.demo.service;


import com.example.demo.common.ResponseMessage;
import com.example.demo.pojo.Cart;

import java.util.List;


public interface ICartService {
    ResponseMessage getCartList(int userId);
    int addCart(int productId,  int quantity, int userId);
    int updateByCart(int product_id,  int quantity, int userId);
    int deleteProduct(Integer product_id);

    int updateByChecked(Integer product_id);
    int updateByNOChecked(Integer product_id);
    List<Cart> selectNum(Integer user_id);
    int updateBll(Integer user_id);
    int updateNOBll(Integer user_id);
}
